<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateTableArtical extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('artical', function (Blueprint $table) {
            $table->increments('id');
            $table->bigInteger('bigId');
            $table->binary('data');
            $table->boolean('confirmed');
            $table->char('char', 4);
            $table->date('date');
            $table->dateTime('create_at');
            $table->decimal('amount', 5, 2);
            $table->double('colum', 15, 8);
            
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('artical');
    }
}
